import request from '@/utils/request'
// 打开获取面经列表
export const getArticleList = (data) => {
  return request.get('/admin/interview/query', {
    params: data
  })
}
// 删除面经
export const delArticle = (id) => {
  return request.delete('/admin/interview/remove', { data: { id } })
}
// 添加面经
export const addArticle = (data) => {
  return request.post('/admin/interview/create', data)
}
// 修改面经
export const getArticle = (id) => {
  return request.get('/admin/interview/show', { params: { id } })
}
// 修改数据重新上传
export const updataArticle = (data) => {
  return request.put('/admin/interview/update', data)
}
